package com.yhp.bean;

import java.util.List;

public class Menu {
    //建立和Users之间的关系
    //一个角色包含多个用户
    private List<Role> roleList;
    private Integer menuId;
    private String menuName;
    private Integer menustatus;
    private Menu menu;

    public Menu getMenu() {
        return menu;
    }

    public void setMenu(Menu menu) {
        this.menu = menu;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "roleList=" + roleList +
                ", menuId=" + menuId +
                ", menuName='" + menuName + '\'' +
                ", menustatus=" + menustatus +
                '}';
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Integer getMenustatus() {
        return menustatus;
    }

    public void setMenustatus(Integer menustatus) {
        this.menustatus = menustatus;
    }


}
